/**
 * $Id: SubmitCmd.java,v 1.13 2006/09/22 07:57:24 martin Exp $
 *
 * Copyright 2006 Skyinfo, Inc. All Rights Reserved.
 */
package com.haoxi.gateway.runner.smscommand;

/**
 * TODO
 * 
 * Revision History
 * 
 * 2006-5-26,star.Zhao,created it
 */
public class SubmitCmd extends BaseCommandObj {

    /**
     * 保留数据库中ID标识
     */
    private int id;
    private String msgId;
    private String gateWayCode;
    private int stype;
    /**
     * 引起该条MT的MO标识，没有则为空
     */
    private String momtRelateID;
    private String serviceId;
    private String orgMobile;
    private int orgMobileType;
    private String destMobile;
    private int destMobileType;
    private String feeMobile;
    private int feeMobileType;
    private int msgCoding;
    private String msgContent = "";
    private int msgLength;
    private String feeType;
    private int feeCode;
    private int tpPId;
    private int tpUdhi;
    private int priority;
    private String expireTime;
    private String scheduleTime;
    private String linkID;
    private String submitTime;
    private int feeRecript;
    private int feeUserType;
    /**
     * 运营商提交报告状态
     */
    private String submitStatus;

    /**
     * 只是针对联通引起MT消息的原因，移动没有
     */
    private int mtFlag;

    /**
     * 是否需要状态报告： 移动的REG_DEL或联通reportFlag
     */
    private int reg_del;
    private String reserve;
    private int cp;
    private String other;

    private int provice;
    private String proviceName;
    private int city;
    private String cityName;
    /**
     * 由第三方产生的
     */
    private String sid;

    /**
     * @return Returns the other.
     */
    public String getOther() {
        return other;
    }

    /**
     * @param other The other to set.
     */
    public void setOther(String other) {
        this.other = other;
    }

    /**
     * @return Returns the cp.
     */
    public int getCp() {
        return cp;
    }

    /**
     * @param cp The cp to set.
     */
    public void setCp(int cp) {
        this.cp = cp;
    }

    /**
     * @return Returns the destMobile.
     */
    public String getDestMobile() {
        return destMobile;
    }

    /**
     * @param destMobile The destMobile to set.
     */
    public void setDestMobile(String destMobile) {
        this.destMobile = destMobile;
    }

    /**
     * @return Returns the destMobileType.
     */
    public int getDestMobileType() {
        return destMobileType;
    }

    /**
     * @param destMobileType The destMobileType to set.
     */
    public void setDestMobileType(int destMobileType) {
        this.destMobileType = destMobileType;
    }

    /**
     * @return Returns the expireTime.
     */
    public String getExpireTime() {
        return expireTime;
    }

    /**
     * @param expireTime The expireTime to set.
     */
    public void setExpireTime(String expireTime) {
        this.expireTime = expireTime;
    }

    /**
     * @return Returns the feeCode.
     */
    public int getFeeCode() {
        return feeCode;
    }

    /**
     * @param feeCode The feeCode to set.
     */
    public void setFeeCode(int feeCode) {
        this.feeCode = feeCode;
    }

    /**
     * @return Returns the feeMobile.
     */
    public String getFeeMobile() {
        return feeMobile;
    }

    /**
     * @param feeMobile The feeMobile to set.
     */
    public void setFeeMobile(String feeMobile) {
        this.feeMobile = feeMobile;
    }

    /**
     * @return Returns the feeMobileType.
     */
    public int getFeeMobileType() {
        return feeMobileType;
    }

    /**
     * @param feeMobileType The feeMobileType to set.
     */
    public void setFeeMobileType(int feeMobileType) {
        this.feeMobileType = feeMobileType;
    }

    /**
     * @return Returns the feeType.
     */
    public String getFeeType() {
        return feeType;
    }

    /**
     * @param feeType The feeType to set.
     */
    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    /**
     * @return Returns the linkID.
     */
    public String getLinkID() {
        return linkID;
    }

    /**
     * @param linkID The linkID to set.
     */
    public void setLinkID(String linkID) {
        this.linkID = linkID;
    }

    /**
     * @return Returns the msgCoding.
     */
    public int getMsgCoding() {
        return msgCoding;
    }

    /**
     * @param msgCoding The msgCoding to set.
     */
    public void setMsgCoding(int msgCoding) {
        this.msgCoding = msgCoding;
    }

    /**
     * @return Returns the msgContent.
     */
    public String getMsgContent() {
        return msgContent;
    }

    /**
     * @param msgContent The msgContent to set.
     */
    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    /**
     * @return Returns the msgId.
     */
    public String getMsgId() {
        return msgId;
    }

    /**
     * @param msgId The msgId to set.
     */
    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    /**
     * @return Returns the msgLength.
     */
    public int getMsgLength() {
        return msgLength;
    }

    /**
     * @param msgLength The msgLength to set.
     */
    public void setMsgLength(int msgLength) {
        this.msgLength = msgLength;
    }

    /**
     * @return Returns the mtFlag.
     */
    public int getMtFlag() {
        return mtFlag;
    }

    /**
     * @param mtFlag The mtFlag to set.
     */
    public void setMtFlag(int mtFlag) {
        this.mtFlag = mtFlag;
    }

    /**
     * @return Returns the orgMobile.
     */
    public String getOrgMobile() {
        return orgMobile;
    }

    /**
     * @param orgMobile The orgMobile to set.
     */
    public void setOrgMobile(String orgMobile) {
        this.orgMobile = orgMobile;
    }

    /**
     * @return Returns the orgMobileType.
     */
    public int getOrgMobileType() {
        return orgMobileType;
    }

    /**
     * @param orgMobileType The orgMobileType to set.
     */
    public void setOrgMobileType(int orgMobileType) {
        this.orgMobileType = orgMobileType;
    }

    /**
     * @return Returns the priority.
     */
    public int getPriority() {
        return priority;
    }

    /**
     * @param priority The priority to set.
     */
    public void setPriority(int priority) {
        this.priority = priority;
    }

    /**
     * @return Returns the reg_del.
     */
    public int getReg_del() {
        return reg_del;
    }

    /**
     * @param reg_del The reg_del to set.
     */
    public void setReg_del(int reg_del) {
        this.reg_del = reg_del;
    }

    /**
     * @return Returns the reserve.
     */
    public String getReserve() {
        return reserve;
    }

    /**
     * @param reserve The reserve to set.
     */
    public void setReserve(String reserve) {
        this.reserve = reserve;
    }

    /**
     * @return Returns the scheduleTime.
     */
    public String getScheduleTime() {
        return scheduleTime;
    }

    /**
     * @param scheduleTime The scheduleTime to set.
     */
    public void setScheduleTime(String scheduleTime) {
        this.scheduleTime = scheduleTime;
    }

    /**
     * @return Returns the serviceId.
     */
    public String getServiceId() {
        return serviceId;
    }

    /**
     * @param serviceId The serviceId to set.
     */
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    /**
     * @return Returns the submitStatus.
     */
    public String getSubmitStatus() {
        return submitStatus;
    }

    /**
     * @param submitStatus The submitStatus to set.
     */
    public void setSubmitStatus(String submitStatus) {
        this.submitStatus = submitStatus;
    }

    /**
     * @return Returns the tpPId.
     */
    public int getTpPId() {
        return tpPId;
    }

    /**
     * @param tpPId The tpPId to set.
     */
    public void setTpPId(int tpPId) {
        this.tpPId = tpPId;
    }

    /**
     * @return Returns the tpUdhi.
     */
    public int getTpUdhi() {
        return tpUdhi;
    }

    /**
     * @param tpUdhi The tpUdhi to set.
     */
    public void setTpUdhi(int tpUdhi) {
        this.tpUdhi = tpUdhi;
    }

    /**
     * @return Returns the id.
     */
    public int getId() {
        return id;
    }

    /**
     * @param id The id to set.
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return Returns the gateWayCode.
     */
    public String getGateWayCode() {
        return gateWayCode;
    }

    /**
     * @param gateWayCode The gateWayCode to set.
     */
    public void setGateWayCode(String gateWayCode) {
        this.gateWayCode = gateWayCode;
    }

    /**
     * @return Returns the stype.
     */
    public int getStype() {
        return stype;
    }

    /**
     * @param stype The stype to set.
     */
    public void setStype(int stype) {
        this.stype = stype;
    }

    /**
     * @return Returns the city.
     */
    public int getCity() {
        return city;
    }

    /**
     * @param city The city to set.
     */
    public void setCity(int city) {
        this.city = city;
    }

    /**
     * @return Returns the provice.
     */
    public int getProvice() {
        return provice;
    }

    /**
     * @param provice The provice to set.
     */
    public void setProvice(int provice) {
        this.provice = provice;
    }

    /**
     * @return Returns the cityName.
     */
    public String getCityName() {
        return cityName;
    }

    /**
     * @param cityName The cityName to set.
     */
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    /**
     * @return Returns the proviceName.
     */
    public String getProviceName() {
        return proviceName;
    }

    /**
     * @param proviceName The proviceName to set.
     */
    public void setProviceName(String proviceName) {
        this.proviceName = proviceName;
    }

    /**
     * @return Returns the momtRelateID.
     */
    public String getMomtRelateID() {
        return momtRelateID;
    }

    /**
     * @param momtRelateID The momtRelateID to set.
     */
    public void setMomtRelateID(String momtRelateID) {
        this.momtRelateID = momtRelateID;
    }

    /**
     * @return Returns the submitTime.
     */
    public String getSubmitTime() {
        return submitTime;
    }

    /**
     * @param submitTime The submitTime to set.
     */
    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    /**
     * @return Returns the sid.
     */
    public String getSid() {
        return sid;
    }

    /**
     * @param sid The sid to set.
     */
    public void setSid(String sid) {
        this.sid = sid;
    }
    public void setFeeRecript(int feeRecript)
    {
        this.feeRecript=feeRecript;
    }
    public int getFeeRecript()
    {
        return feeRecript;
    }
    public void setFeeUserType(int feeUserType)
    {
        this.feeUserType=feeUserType;
    }
    public int getFeeUserType()
    {
        return feeUserType;
    }

    /*
     * (non-Javadoc)
     * 
     * @see com.haoxi.gateway.runner.smscommand.BaseCommandObj#toString()
     */
    public String toString() {
        StringBuffer buffer = new StringBuffer("SubmitCmd : sequence [")
                .append(this.sequence).append("], orgMobile [").append(
                        this.orgMobile).append("], DesMobile [").append(
                        this.destMobile).append("], serviceId [").append(
                        this.serviceId).append("], gatewayCode [").append(
                        this.gateWayCode).append("], content size [").append(
                        this.msgContent.length()).append("], content [")
                .append(this.msgContent).append("], linkid [").append(
                        this.linkID).append("], sid [").append(this.sid)
                .append("], tpPId [").append(this.tpPId).append("], tpUdhi [")
                .append(this.tpUdhi).append("]").append("feeRecript=").append(feeRecript);
        return buffer.toString();
    }

}
